Optimal. Leaf size=105 \[ \frac {6 \sin (a+b x)}{35 b \sin ^{\frac {5}{2}}(2 a+2 b x)}+\frac {16 \sin (a+b x)}{35 b \sqrt {\sin (2 a+2 b x)}}-\frac {8 \cos (a+b x)}{35 b \sin ^{\frac {3}{2}}(2 a+2 b x)}-\frac {\cos (a+b x)}{7 b \sin ^{\frac {7}{2}}(2 a+2 b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {4303, 4304, 4292} \[ \frac {6 \sin (a+b x)}{35 b \sin ^{\frac {5}{2}}(2 a+2 b x)}+\frac {16 \sin (a+b x)}{35 b \sqrt {\sin (2 a+2 b x)}}-\frac {8 \cos (a+b x)}{35 b \sin ^{\frac {3}{2}}(2 a+2 b x)}-\frac {\cos (a+b x)}{7 b \sin ^{\frac {7}{2}}(2 a+2 b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4292
Rule 4303
Rule 4304
Rubi steps
\begin {align*} \int \frac {\cos (a+b x)}{\sin ^{\frac {9}{2}}(2 a+2 b x)} \, dx &=-\frac {\cos (a+b x)}{7 b \sin ^{\frac {7}{2}}(2 a+2 b x)}+\frac {6}{7} \int \frac {\sin (a+b x)}{\sin ^{\frac {7}{2}}(2 a+2 b x)} \, dx\\ &=-\frac {\cos (a+b x)}{7 b \sin ^{\frac {7}{2}}(2 a+2 b x)}+\frac {6 \sin (a+b x)}{35 b \sin ^{\frac {5}{2}}(2 a+2 b x)}+\frac {24}{35} \int \frac {\cos (a+b x)}{\sin ^{\frac {5}{2}}(2 a+2 b x)} \, dx\\ &=-\frac {\cos (a+b x)}{7 b \sin ^{\frac {7}{2}}(2 a+2 b x)}+\frac {6 \sin (a+b x)}{35 b \sin ^{\frac {5}{2}}(2 a+2 b x)}-\frac {8 \cos (a+b x)}{35 b \sin ^{\frac {3}{2}}(2 a+2 b x)}+\frac {16}{35} \int \frac {\sin (a+b x)}{\sin ^{\frac {3}{2}}(2 a+2 b x)} \, dx\\ &=-\frac {\cos (a+b x)}{7 b \sin ^{\frac {7}{2}}(2 a+2 b x)}+\frac {6 \sin (a+b x)}{35 b \sin ^{\frac {5}{2}}(2 a+2 b x)}-\frac {8 \cos (a+b x)}{35 b \sin ^{\frac {3}{2}}(2 a+2 b x)}+\frac {16 \sin (a+b x)}{35 b \sqrt {\sin (2 a+2 b x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.14, size = 67, normalized size = 0.64 \[ \frac {\sqrt {\sin (2 (a+b x))} (-10 \cos (2 (a+b x))-4 \cos (4 (a+b x))+4 \cos (6 (a+b x))+5) \csc ^4(a+b x) \sec ^3(a+b x)}{560 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 118, normalized size = 1.12 \[ \frac {128 \, \cos \left (b x + a\right )^{7} - 256 \, \cos \left (b x + a\right )^{5} + 128 \, \cos \left (b x + a\right )^{3} + \sqrt {2} {\left (128 \, \cos \left (b x + a\right )^{6} - 224 \, \cos \left (b x + a\right )^{4} + 84 \, \cos \left (b x + a\right )^{2} + 7\right )} \sqrt {\cos \left (b x + a\right ) \sin \left (b x + a\right )}}{560 \, {\left (b \cos \left (b x + a\right )^{7} - 2 \, b \cos \left (b x + a\right )^{5} + b \cos \left (b x + a\right )^{3}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (b x + a\right )}{\sin \left (2 \, b x + 2 \, a\right )^{\frac {9}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F(-1)] time = 180.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (b x +a \right )}{\sin \left (2 b x +2 a \right )^{\frac {9}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (b x + a\right )}{\sin \left (2 \, b x + 2 \, a\right )^{\frac {9}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.87, size = 350, normalized size = 3.33 \[ -\frac {{\mathrm {e}}^{a\,1{}\mathrm {i}+b\,x\,1{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-a\,2{}\mathrm {i}-b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}}{2}}}{7\,b\,{\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )}^4}+\frac {{\mathrm {e}}^{a\,3{}\mathrm {i}+b\,x\,3{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-a\,2{}\mathrm {i}-b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}}{2}}\,16{}\mathrm {i}}{35\,b\,\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}+1\right )\,\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )}-\frac {{\mathrm {e}}^{a\,1{}\mathrm {i}+b\,x\,1{}\mathrm {i}}\,\left (\frac {1}{7\,b}-\frac {8\,{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}}{35\,b}\right )\,\sqrt {\frac {{\mathrm {e}}^{-a\,2{}\mathrm {i}-b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}}{2}}}{{\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}+1\right )}^2\,{\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )}^2}+\frac {{\mathrm {e}}^{a\,1{}\mathrm {i}+b\,x\,1{}\mathrm {i}}\,\left (\frac {16{}\mathrm {i}}{35\,b}+\frac {{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,44{}\mathrm {i}}{35\,b}\right )\,\sqrt {\frac {{\mathrm {e}}^{-a\,2{}\mathrm {i}-b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}}{2}}}{{\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}+1\right )}^3\,{\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________